package com.zima.mall.service;

import com.zima.mall.entity.Address;
import com.zima.mall.entity.MallUser;
import com.zima.mall.vo.BuyVo;
import com.zima.mall.vo.TableVo;

public interface UserService {
    String findByAccount(String account);
    TableVo findAllAverageUsers(Integer page,Integer size);
    float consumptionStatics(Integer uid);
    TableVo findAddressByAccount(String account);
    Integer order(BuyVo buyVo);
    Integer register(MallUser mallUser);
    TableVo getUserInfo(String account);
    Integer editUser(MallUser mallUser);
    Integer delAddress(Integer id);
    Integer addAddress(Address address,String account);
    Integer editAddress(Address address);
}
